package com.luoluo.service.impl;

import com.luoluo.dao.TouristsLeaveWordMapper;
import com.luoluo.pojo.TouristsLeaveWord;
import com.luoluo.service.TouristsLeaveWordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TouristsLeaveWordServiceImpl implements TouristsLeaveWordService {
    @Autowired
    TouristsLeaveWordMapper touristsLeaveWordMapper;
    @Override
    public TouristsLeaveWord selectByLeaveWordId(Integer id) {
        return touristsLeaveWordMapper.selectByLeaveWordId(id);
    }

    @Override
    public List<TouristsLeaveWord> selectAll() {
        return touristsLeaveWordMapper.selectAll();
    }

    @Override
    public TouristsLeaveWord selectByPrimaryKey(Integer id) {
        return touristsLeaveWordMapper.selectByPrimaryKey(id);
    }
}